package com.tianqingwl.gsystem.content.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author jack,984137184@qq.com
 * @since 2020年7月27日 22点52分
 */
@Data
@TableName(value = "content_info")
public class ContentInfo {
    @TableId(type = IdType.AUTO)
    private Long contentId;
    private String contentTitle;
    private String contentInfo;
    private Date createTime;
    private Date updateTime;
    private Long userId;
    private String userShowName;
    private Integer status;//1.发布 2.稿件
    private String contentTypeName;
    private Long contentType;
    private String keywords;
    private String description;
    private String cover;
    private Long viewCount;
    @TableField(exist = false)
    private List<String> tagNames;
}
